<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑新闻</title>
</head>
<body>
<h2>编辑新闻</h2>
<form action="save">
    <div>
        <input type="hidden" name="ID" value="{$news['ID']}">
        <label for="">新闻标题：<input type="text" name="title" value="{$news['title']}"></label><br>
        <label for="">新闻类型：<select name="newsType" id="">
            {volist name="newstype" id="vo"}
            <option value="{$vo.typeID}" {eq name="vo.typeID" value="$news.newsType"}selected{/eq}>{$vo.typeName}</option>
            {/volist}
        </select></label><br>
        <label for="">新闻内容：<textarea name="content" cols="30" rows="10">{$news['content']}</textarea></label><br>
        <input type="submit" value="提交">
        <input type="reset" value="取消"><br>
        <a href="index">点我返回列表</a>
    </div>
</form>
</body>
</html>